package com.yuanfeng.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @ClassName SellerOrderInvoiceVO
 * @Description 卖家订单发票信息
 * @Author cf
 * @Date 2023/7/5 13:20
 * @Version 1.0
 */
@Data
public class SellerOrderInvoiceVO {
    /**
     * 订单id
     */
    private String orderId;
    /**
     * 店铺id
     */
    private Integer shopId;
    /**
     * 买家姓名
     */
    private String buyerUserName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderCreateTime;
    private List<OrderGoodsDetailVO> goodsList;
    /**
     * 开票状态:0-未开票;1-审核中;2-已出票;3-未通过
     */
    private Integer invoiceStatus;
    /**
     * 发票ID
     */
    private Integer invoiceId;
    /**
     * 应付金额（商品实际支付金额 + 运费）
     */
    private BigDecimal orderPaymentAmount;
    /**
     * 发票类型
     */
    private Integer invoiceType;
    /**
     * 订单状态
     */
    private Integer orderStatus;
}
